package com.vladimirjosu.backgammon;

import android.app.Activity;
import android.os.Bundle;

public class GameActivity extends Activity {

	private Table mTable;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
//		setContentView(R.layout.game);
		mTable = new Table(this);
		setContentView(mTable);
//		LinearLayout layout = (LinearLayout)findViewById(R.id.table_point_12);
//		Piece piece = new Piece(this, Type.WHITE);
//		LayoutParams params = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
//		layout.addView(piece, params);
//		layout.addView(piece, Piece.WEIGHT, Piece.HEIGHT);
//		addContentView(piece, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
//		ImageButton button = new ImageButton(this);
//		button.setBackgroundResource(R.drawable.piece_black);
	}
}
